imx: hab: Make usage of packed attribute consistent
authorBryan O'Donoghue <[email protected]>
Fri, 9 Mar 2018 13:07:20 +0000 (13:07 +0000)
committerStefano Babic <[email protected]>
Sun, 11 Mar 2018 15:00:00 +0000 (16:00 +0100)
commitf0d5bd4ba54862190f87295cc5a59e35a1e302c4
tree9dd79d28d8ea26889fef72838ea00976cd74138c
parentffab61f4aaed85d1a1d7543a0ef1d949fabbdf84
imx: hab: Make usage of packed attribute consistent

commit cd2d46003ce1 ("arm: imx: hab: Add IVT header definitions") declares
struct ivt_header as "__attribute__((packed))".

commit ed286bc80e9d ("imx: hab: Check if CSF is valid before
authenticating image") declares struct hab_hdr with __packed.

This patch makes the __packed convention consistent.

Signed-off-by: Bryan O'Donoghue <[email protected]>
Cc: Utkarsh Gupta <[email protected]>
Cc: Breno Lima <[email protected]>
Cc: Fabio Estevam <[email protected]>
Reviewed-by: Fabio Estevam <[email protected]>
arch/arm/include/asm/mach-imx/hab.h